#ifndef _STREAMSOCKETIMPL_HPP_
#define _STREAMSOCKETIMPL_HPP_

#include "net/SocketDefs.hpp"
#include "net/SocketImpl.hpp"
#include "net/IPAddress.hpp"

NET_NAMESPACE_BEGIN

class CStreamSocketImpl : public CSocketImpl
{
public:
	CStreamSocketImpl();
	explicit CStreamSocketImpl(CIPAddress::Family addressFamily);
	CStreamSocketImpl(JH_SOCKET sockfd);
	virtual int sendBytes(const void* buffer, int length, int flags = 0);
protected:
	virtual ~CStreamSocketImpl();
};

NET_NAMESPACE_END

#endif
